|
FrameLib
2.0
DSP processing with frames of arbitrary timing and length
|
a global threadsafe memory allocator suitable for realtime usage. More...
#include <FrameLib_Memory.h>
Classes | |
| class | Pruner |
| an RAII utility for repeated deallocation with only a single lock. More... | |
Public Member Functions | |
| FrameLib_GlobalAllocator (FrameLib_ErrorReporter &errorReporter) | |
| ~FrameLib_GlobalAllocator () | |
| FrameLib_GlobalAllocator (const FrameLib_GlobalAllocator &)=delete | |
| FrameLib_GlobalAllocator & | operator= (const FrameLib_GlobalAllocator &)=delete |
| void * | alloc (size_t size) |
| void | dealloc (void *ptr) |
Static Public Member Functions | |
| static size_t | getAlignment () |
| static size_t | alignSize (size_t x) |
a global threadsafe memory allocator suitable for realtime usage.
|
inline |
|
inline |
|
delete |
|
static |
| void * FrameLib_GlobalAllocator::alloc | ( | size_t | size | ) |
| void FrameLib_GlobalAllocator::dealloc | ( | void * | ptr | ) |
|
static |
|
delete |